package com.yanti.domain.entity;

import java.time.LocalDateTime;
import java.util.Date;

import java.io.Serializable;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
/**
 * 角色表(Role)表实体类
 *
 * @author luo
 * @since 2025-04-10 15:14:08
 */
@SuppressWarnings("serial")
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@TableName("role")
public class Role  {
    //主键ID
    @TableId
    private Long id;

    //角色名
    private String roleName;
    //角色唯一标识
    private String roleKey;
    //状态(0：启用 1：禁用)
    private Integer status;
    //管理系统中的显示顺序
    private Long sort;
    //备注
    private String remark;
    //创建时间
    private LocalDateTime createTime;
    //最后一次更新时间
    private LocalDateTime updateTime;
    //逻辑删除(0：未删除 1：已删除)
    private Boolean isDeleted;

}

